package mynews.com.kty.mynews.net;

import mynews.com.kty.mynews.bean.NewsGson;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * TODO:
 * Created by 倪彬彬 on 2017/3/14.
 */
public interface ApiServer {
    String IP = "http://api.tianapi.com/";

    String API_KET = "f784b3b838406bef6c26340111e7aa36";

    @GET("keji/")
    Observable<NewsGson> getNewsData(@Query("key") String key, @Query("num") String num, @Query("page") int page);
}
